package com.tone.ji_volunteer.service.impl;

import com.tone.ji_volunteer.mapper.AdvertiseMapper;
import com.tone.ji_volunteer.pojo.Swiper;
import com.tone.ji_volunteer.service.AdvertiseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tone(ang)
 * version 1.0
 */
@Service
public class AdvertiseServiceImpl implements AdvertiseService {
    @Autowired
    private AdvertiseMapper advertiseMapper;

    @Override
    public List<Swiper> getSwiper() {
        return advertiseMapper.list();
    }
}
